home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / util / misc / ProPassWord.lha / ProPassWord / Install_PPW < prev    next >
Encoding:
Text File  |  1999-09-04  |  1.7 KB  |  61 lines

  1. ;#PPW Installer script by Gareth Griffiths#
  2.  
  3. (complete 0)
  4. (welcome "ProPassWord\n"
  5.          "©1999 Andrew Guard. All Rights Reserved.\n"
  6.          "Documentation by Andrew Guard and Gareth Griffiths.\n"
  7.          "Installer script by Gareth Griffiths.")
  8.  
  9. (working "Deleting old ProPassWord files (required)...")
  10. (delete "S:Config_ProPassWord"
  11.    (help "These files need to be deleted in order for the new version"
  12.          "of ProPassWord to work properly. The files to be deleted are:\n\n"
  13.          "S:Config_ProPassWord\n"
  14.          "ETC:PassWD.PPW")
  15.    (force)
  16.    (infos)
  17. )
  18. (delete "ETC:PassWD.PPW"
  19.    (help "These files need to be deleted in order for the new version"
  20.          "of ProPassWord to work properly. The files to be deleted are:\n\n"
  21.          "S:Config_ProPassWord\n"
  22.          "ETC:PassWD.PPW")
  23.    (force)
  24.    (infos)
  25. )
  26. (complete 25)
  27. (set #dest
  28.     (askdir 
  29.        (prompt "Choose a directory to assign ETC: to:")
  30.         (help "Select the directory which you want ETC: assigned to. ETC: is"
  31.              "where ProPassWord files are stored.")
  32.        (default "ENVARC:ProPassWord")
  33.        (newpath)
  34.         (assign)
  35.     )
  36. )
  37. (startup ProPassWord
  38.    (prompt "Adding assigns to S:User-Startup")
  39.     (help "This just adds the assigns to the S:User-Startup file.")
  40.     (confirm)
  41.     (command "Assign ETC: "#dest""
  42.             "C:ProPassWord")
  43. )
  44. (complete 50)
  45. (copyfiles
  46.     (help "Just copying the executables over! Don't panic!\n"
  47.             "Oh yeah, they go to C: in case you were wondering ;)")
  48.     (source "ProPassWord")
  49.     (dest "C:")
  50.     (infos)
  51. )
  52. (complete 75)
  53. (copyfiles
  54.     (help "Just copying the executables over! Don't panic!\n"
  55.             "Oh yeah, they go to C: in case you were wondering ;)")
  56.     (source "GenerateProPassWord")
  57.     (dest "C:")
  58.     (infos)
  59. )
  60. (complete 100)
  61. (exit)